package abstract1;

public class AbstractDemo1 {
    public static void main(String[] args) {
        //A a = new A();不能创建抽象类对象
        B b = new B();
        b.show();
        b.setA(10);
        System.out.println(b.getA());

    }
}
